import {createStore,applyMiddleware } from "redux";
import {composeWithDevTools} from 'redux-devtools-extension';
import reducer from "./reducer/index";
import thunk from "redux-thunk";



//参数
// 1、reducer
// 2、插件配置
const store = createStore(reducer,composeWithDevTools(applyMiddleware(thunk)));


export default store;